import { BaseWindow } from "../../../component/window/BaseWindow";
import { ILayer } from "../../../mvc/interfaces/ILayer";
import { Language } from "../../../../extend/language/Language";
import { CrossGuildWarChooseGroupSubWin } from "./subWin/CrossGuildWarChooseGroupSubWin";
import { DataProvider } from "../../../../fl/data/DataProvider";
type int = number;
//class CrossGuildWarChooseGroupWin
    
    export  class CrossGuildWarChooseGroupWin extends BaseWindow
    {
        constructor(arg1: ILayer=null)
        {
            super(arg1);
            this.setSize(839, 535);
            this.title = Language.getString(80550);
            this.titleHeight = 27;
            return;
        }

        public /* override */ dispose(arg1: Boolean=true): void
        {
            super.dispose(arg1);
            if (this._subWin != null) 
            {
                this._subWin.dispose(arg1);
                this._subWin = null;
            }
            return;
        }

        protected /* override */ createChildren(): void
        {
            super.createChildren();
            this._subWin = new CrossGuildWarChooseGroupSubWin();
            this._subWin.x = 18;
            this._subWin.y = 40;
            this.addChild(this._subWin);
            return;
        }

        public updateData(arg1: DataProvider): void
        {
            this._subWin.updateData(arg1);
            return;
        }

        public updateSelectLeftTime(arg1: int): void
        {
            this._subWin.updateSelectLeftTime(arg1);
            return;
        }

        /* internal */ /* var */_subWin: CrossGuildWarChooseGroupSubWin;
    }
